﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for CarAgeCapacity
/// </summary>
/// 
namespace CE.Provider
{
    public class CarAgeCapacity
    {
        private Int64 _providercaragecapcid;
        private Int64 _providercompanyId;
        private string _carage;
        private string _carcapacity;
        private float _rate;

        //common field name
        private Int64 _refceuserid;
        private bool _status;
        private DateTime _createddate;
        private DateTime _modifieddate;

        private float _finfo1;  //new rate
        private DateTime _dinfo1; //effectivity date


        public CarAgeCapacity()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        public Int64 ProviderCarAgeCapId
        {
            get { return _providercaragecapcid; }
            set { _providercaragecapcid = value; }
        }

        public Int64 ProviderCompanyId
        {
            get { return _providercompanyId; }
            set { _providercompanyId = value; }
        }

        public string CarAge
        {
            get { return _carage; }
            set { _carage = value; }
        }

        public string CarCapacity
        {
            get { return _carcapacity; }
            set { _carcapacity = value; }
        }

        public float Rate
        {
            get { return _rate; }
            set { _rate = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public DateTime CreatedDate
        {
            get { return _createddate; }
            set { _createddate = value; }
        }

        public DateTime ModifiedDate
        {
            get { return _modifieddate; }
            set { _modifieddate = value; }
        }

        public float FInfo1
        {
            get { return _finfo1; }
            set { _finfo1 = value; }
        }

        public DateTime DInfo1
        {
            get { return _dinfo1; }
            set { _dinfo1 = value; }
        }

        public void ClearFields()
        {
            _providercaragecapcid = 0;
            _providercompanyId = 0;
            _carage = "";
            _carcapacity = "";
            _rate = 0.0f;
            //common field name
            _refceuserid = 0;
            _status = false;
            _createddate = new DateTime();
            _modifieddate = new DateTime();

            _finfo1 = 0.0f;
            _dinfo1 = new DateTime();

        }

    }
}